<div class="kmi-layout-content B0217-content c-mdd-page" ng-init="init();" page-type="Page" _transclude-elem="[object Object]">
    <div class="kmi-header-row">
        <div class="brand-title">
            <div class="custom" ng-if="companyName">
                <div class="title" ng-bind="companyName"></div>
                <img src="" alt="" class="brand" />
                <div class="gap"></div>
            </div>
            <div class="digiwin">
                <img src="image/smes_v340/logo_ch.png" alt="" />
                <img src="image/smes_v340/logo_en.png" alt="" />
            </div>
        </div>
        <div class="header-title" ng-bind="_title | translate"></div>

        <div class="right">
            <button ng-hide="_fn['Execute'].isShown == 'N'" ng-click="_fn['Execute'].click('Execute');">
                <img src="image/smes_v340/W_Com_Setting_nor_32.png" />
                <div class="kmi-can-click"></div>
            </button>
        </div>
    </div>
    <div class="kmi-layout-main-content">
        <div class="mdd-layout c-mdd-layout" layout-name="B0217" page-name="" page-type="Page" with-toolbar="N" reload="N" _transclude-elem="[object Object]" style="grid-template-columns: repeat(18, auto 1fr)">
            <mdd-condition style="grid-column: 1 / -1; grid-row-start: span 3"></mdd-condition><label class="label" ng-show="_event['changestate'].isShown != 'N'" style="" ng-bind="'B0217.columns.changestate' | translate"></label>
            <div class="value" ng-show="_event['changestate'].isShown != 'N'" style="grid-column-start: span 35">
                <button class="mdl-button mdl-js-button kmi-checkbox" ng-click="_event['changestate'].click('0', {event:$event});" ng-disabled="_event['changestate'].isDisabled == 'Y'">
                    <img ng-if="state == '0'" src="image/icons/check1.png" />
                    <img ng-if="state != '0'" src="image/icons/check0.png" />
                    {{'B0217.displayValues.ReturnInspection.0' | translate}}</button
                ><button class="mdl-button mdl-js-button kmi-checkbox" ng-click="_event['changestate'].click('1', {event:$event});" ng-disabled="_event['changestate'].isDisabled == 'Y'">
                    <img ng-if="state == '1'" src="image/icons/check1.png" />
                    <img ng-if="state != '1'" src="image/icons/check0.png" />
                    {{'B0217.displayValues.ReturnInspection.1' | translate}}
                </button>
            </div>
            <label class="label" ng-show="_event['erp_doc_display'].isShown != 'N'" style="" ng-bind="'B0217.columns.erp_doc_display' | translate"></label>
            <div class="value" ng-show="_event['erp_doc_display'].isShown != 'N'" style="grid-column-start: span 35">
                <input type="text" readonly="" ng-model="outsourcers.erp_doc_display" ng-click="_event['erp_doc_display'].click(outsourcers.erp_doc, {event:$event});" ng-disabled="_event['erp_doc_display'].isDisabled == 'Y'" />
                <div class="tip"><i class="material-icons"></i></div>
            </div>
            <div class="mdd-list c-mdd-list" null="" ng-show="_event['B0217_itemList'].isShown != 'N'" style="height: calc(100vh - 268px);grid-column-start:span 36;" list-name="B0217_itemList" list-bind="B0217_itemList" list-alias="itemList" enable-select="Y" select-all="Y" page-name="" page-type="Page" _transclude-elem="[object Object]">
                <div class="kmi-list column-selector" kmi-scrollbar="3214px" column-selector-id="B0217_itemList" style="flex: 1">
                    <div class="kmi-list__header">
                        <div class="kmi-list__column width-fixed column-input" style="flex: 0 0 40px">
                            <button class="mdl-button mdl-js-button mdl-button--icon" ng-click="_event['B0217_itemList'].selectAll(itemList, 'B0217_itemList');">
                                <img ng-show="!_event['B0217_itemList'].isSelectAll" src="image/icons/check0.png" />
                                <img ng-show="_event['B0217_itemList'].isSelectAll" src="image/icons/check1.png" />
                            </button>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.outsource_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[0].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['outsource_no']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[0].isFilter = false;_objB0217_itemList.filterColumns['outsource_no'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[0].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[0].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.outsource_no' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 0">{{!_objB0217_itemList.header[0].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(0, 'outsource_no', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.outsourcers_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[1].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['outsourcers_no']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[1].isFilter = false;_objB0217_itemList.filterColumns['outsourcers_no'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[1].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[1].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.outsourcers_no' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 1">{{!_objB0217_itemList.header[1].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(1, 'outsourcers_no', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.outsourcers_name'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[2].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['outsourcers_name']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[2].isFilter = false;_objB0217_itemList.filterColumns['outsourcers_name'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[2].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[2].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.outsourcers_name' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 2">{{!_objB0217_itemList.header[2].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(2, 'outsourcers_name', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.item_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[3].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['item_no']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[3].isFilter = false;_objB0217_itemList.filterColumns['item_no'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[3].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[3].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.item_no' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 3">{{!_objB0217_itemList.header[3].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(3, 'item_no', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.item_name'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[4].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['item_name']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[4].isFilter = false;_objB0217_itemList.filterColumns['item_name'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[4].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[4].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.item_name' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 4">{{!_objB0217_itemList.header[4].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(4, 'item_name', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.item_spec'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[5].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['item_spec']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[5].isFilter = false;_objB0217_itemList.filterColumns['item_spec'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[5].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[5].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.item_spec' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 5">{{!_objB0217_itemList.header[5].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(5, 'item_spec', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.wo_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[6].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['wo_no']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[6].isFilter = false;_objB0217_itemList.filterColumns['wo_no'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[6].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[6].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.wo_no' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 6">{{!_objB0217_itemList.header[6].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(6, 'wo_no', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.plot_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[7].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['plot_no']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[7].isFilter = false;_objB0217_itemList.filterColumns['plot_no'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[7].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[7].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.plot_no' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 7">{{!_objB0217_itemList.header[7].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(7, 'plot_no', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.op_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[8].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['op_no']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[8].isFilter = false;_objB0217_itemList.filterColumns['op_no'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[8].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[8].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.op_no' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 8">{{!_objB0217_itemList.header[8].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(8, 'op_no', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.op_name'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[9].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['op_name']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[9].isFilter = false;_objB0217_itemList.filterColumns['op_name'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[9].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[9].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.op_name' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 9">{{!_objB0217_itemList.header[9].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(9, 'op_name', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.output_qty'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[10].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['output_qty']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[10].isFilter = false;_objB0217_itemList.filterColumns['output_qty'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[10].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[10].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.output_qty' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 10">{{!_objB0217_itemList.header[10].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(10, 'output_qty', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.spc'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[11].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['spc']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[11].isFilter = false;_objB0217_itemList.filterColumns['spc'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[11].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[11].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.spc' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 11">{{!_objB0217_itemList.header[11].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(11, 'spc', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.spc_ok'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[12].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['spc_ok']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[12].isFilter = false;_objB0217_itemList.filterColumns['spc_ok'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[12].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[12].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.spc_ok' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 12">{{!_objB0217_itemList.header[12].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(12, 'spc_ok', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.qc_control'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[13].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['qc_control']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[13].isFilter = false;_objB0217_itemList.filterColumns['qc_control'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[13].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[13].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.qc_control' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 13">{{!_objB0217_itemList.header[13].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(13, 'qc_control', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.vehicle_no'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[14].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['vehicle_no']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[14].isFilter = false;_objB0217_itemList.filterColumns['vehicle_no'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[14].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[14].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.vehicle_no' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 14">{{!_objB0217_itemList.header[14].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(14, 'vehicle_no', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column" item-name="double_unit_qty" style="flex: 0 0 250px" ng-bind="'B0217.list.column05' | translate"></div>
                        <div class="kmi-list__column" item-name="abnormal_qty" style="flex: 0 0 100px" ng-bind="'B0217.list.column08' | translate"></div>
                        <div class="kmi-list__column" item-name="return_qty" style="flex: 0 0 100px" ng-bind="'B0217.list.column13' | translate" ng-show="CheckQC == '1' || CheckQC == 'Y'"></div>
                        <div class="kmi-list__column" item-name="molecule" style="flex: 0 0 100px" ng-bind="'B0217.list.column14' | translate" ng-show="FasteningPackage == 1 || FasteningPackage == 'Y'"></div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.SPCQTY'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[19].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['SPCQTY']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[19].isFilter = false;_objB0217_itemList.filterColumns['SPCQTY'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[19].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[19].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.SPCQTY' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 19">{{!_objB0217_itemList.header[19].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(19, 'SPCQTY', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column" item-name="osstatus" style="flex: 0 0 100px" ng-bind="'B0217.list.column16' | translate"></div>
                        <div class="kmi-list__column" item-name="panelbutton" style="flex: 0 0 100px" ng-bind="'B0217.list.column17' | translate" ng-hide="!os_back_setting"></div>
                        <div class="kmi-list__column" item-name="valuationqty" style="flex: 0 0 120px" ng-bind="'B0217.list.column18' | translate" ng-hide="osvaluationinput=='0'"></div>
                        <div class="kmi-list__column" item-name="excessqty" style="flex: 0 0 100px" ng-bind="'B0217.list.column19' | translate" ng-hide="!os_back_setting"></div>
                        <div class="kmi-list__column" item-name="lossqty" style="flex: 0 0 100px" ng-bind="'B0217.list.column20' | translate" ng-hide="!os_back_setting"></div>
                        <div class="kmi-list__column" item-name="issuedefectqty" style="flex: 0 0 100px" ng-bind="'B0217.list.column22' | translate" ng-hide="!os_back_setting"></div>
                        <div class="kmi-list__column head-controls" style="flex: 1" ng-show="_event['B0217_itemList.qcformno'].isShown != 'N'">
                            <div class="filter" ng-show="_objB0217_itemList.header[26].isFilter">
                                <input ng-model="_objB0217_itemList.filterColumns['qcformno']" />
                                <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="_objB0217_itemList.header[26].isFilter = false;_objB0217_itemList.filterColumns['qcformno'] = '';">clear</i>
                            </div>

                            <div class="order" ng-hide="_objB0217_itemList.header[26].isFilter">
                                <i class="material-icons search" style="z-index: 1" ng-click="_objB0217_itemList.header[26].isFilter = true">search</i>
                                <label ng-bind="'B0217_itemList.columns.qcformno' | translate"></label>
                                <i class="material-icons" ng-show="_objB0217_itemList.queryOrder == 26">{{!_objB0217_itemList.header[26].order?'':''}}</i>
                                <div class="kmi-can-click" ng-click="orderResult(26, 'qcformno', '_objB0217_itemList');"></div>
                            </div>
                        </div>
                        <div class="kmi-list__column require" item-name="callb0225" ng-show="isB0225" style="flex: 0 0 84px"></div>
                    </div>
                    <div class="kmi-list__row-content">
                        <div class="kmi-list__row" id="B0217_itemList_result_list" ng-repeat="item in _event['B0217_itemList'].getPages(itemList, _objB0217_itemList.PageConfig, _objB0217_itemList.filterColumns, _objB0217_itemList.header[_objB0217_itemList.queryOrder]) track by $index" ng-class="{'is-select':_event['B0217_itemList'].checkSelect(item, {index:$index, event:$event})}">
                            <div class="kmi-list__column column-input" style="flex: 0 0 40px; z-index: 1">
                                <button class="mdl-button mdl-js-button mdl-button--icon" ng-show="_event['B0217_itemList'].enableSelect(item, 'B0217_itemList.item');" ng-click="_event['B0217_itemList'].click(item, {index:$index, event:$event});">
                                    <img ng-show="!_event['B0217_itemList'].checkClick(item, 'B0217_itemList.item');" src="image/icons/check0.png" />
                                    <img ng-show="_event['B0217_itemList'].checkClick(item, 'B0217_itemList.item');" src="image/icons/check1.png" />
                                </button>
                            </div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.outsource_no" ng-if="_event['B0217_itemList.outsource_no'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.outsourcers_no" ng-if="_event['B0217_itemList.outsourcers_no'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.outsourcers_name" ng-if="_event['B0217_itemList.outsourcers_name'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.item_no" ng-if="_event['B0217_itemList.item_no'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.item_name" ng-if="_event['B0217_itemList.item_name'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.item_spec" ng-if="_event['B0217_itemList.item_spec'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.wo_no" ng-if="_event['B0217_itemList.wo_no'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.plot_no" ng-if="_event['B0217_itemList.plot_no'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.op_no" ng-if="_event['B0217_itemList.op_no'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.op_name" ng-if="_event['B0217_itemList.op_name'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.output_qty" ng-if="_event['B0217_itemList.output_qty'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.spc==='Y'?'B0217.msg.Y':'B0217.msg.N' | translate" ng-if="_event['B0217_itemList.spc'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.spc_ok==='Y'?'B0217.msg.Y':'B0217.msg.N' | translate" ng-if="_event['B0217_itemList.spc_ok'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.qc_control==='Y'?'B0217.msg.Y':'B0217.msg.N' | translate" ng-if="_event['B0217_itemList.qc_control'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="_event['B0217_itemList.vehicle_no'].isShown != 'N'">
                                <div class="kmi-text-fields">
                                    <input type="text" readonly="" ng-model="item.fastening_info_detail.vehicle_no_display" ng-click="_event['B0217_itemList.vehicle_no'].click(item.fastening_info_detail.vehicle_no, {eventScope:item, event:$event, index:$index});" />
                                    <div class="tip"><i class="material-icons"></i></div>
                                </div>
                            </div>
                            <div class="kmi-list__column column-input" item-name="double_unit_qty" style="flex: 0 0 250px; z-index: 1">
                                <input readonly="readonly" ng-show="FasteningPackage == 1 || FasteningPackage == Y" ng-model="item.fastening_info_detail.double_unit_qty" placeholder="{{ 'B0217.enter_double_unit_qty' | translate }}" ng-click="calculaterVehicleQty($event, item.fastening_info_detail.double_unit_qty, item);" />
                                <input readonly="readonly" ng-click="input_qty($event, item);" ng-value="item.returned_qty" ng-disabled="item.spc==='Y' &amp;&amp; item.qc_control==='Y' &amp;&amp; item.spc_ok==='Y' &amp;&amp; item.returned_qty<=0 || item.osstatus!='0'" ng-hide="item.spc==='Y' &amp;&amp; item.qc_control==='Y' &amp;&amp; item.spc_ok==='Y' &amp;&amp; item.returned_qty<=0" />
                                <input readonly="readonly" ng-click="input_qty($event, item);" ng-value="item.spc_ok_qty" ng-disabled="item.spc==='Y' &amp;&amp; item.qc_control==='Y' &amp;&amp; item.spc_ok==='Y'  &amp;&amp; item.returned_qty<=0 || item.osstatus!='0' " ng-show="item.spc==='Y' &amp;&amp; item.qc_control==='Y' &amp;&amp; item.spc_ok==='Y' &amp;&amp; item.returned_qty<=0" />
                            </div>
                            <div class="kmi-list__column column-input" item-name="abnormal_qty" style="flex: 0 0 100px; z-index: 1">
                                <input readonly="readonly" ng-click="openBadReason(item);" ng-value="item.abnormal_qty" ng-disabled="item.spc==='Y' &amp;&amp; item.qc_control==='Y' &amp;&amp; item.spc_ok==='Y'  &amp;&amp; item.returned_qty<=0 || item.osstatus!='0'" ng-hide="item.spc==='Y' &amp;&amp; item.qc_control==='Y' &amp;&amp; item.spc_ok==='Y' &amp;&amp; item.returned_qty<=0" />
                                <input readonly="readonly" ng-click="openBadReason(item);" ng-value="item.spc_ng_qty" ng-disabled="item.spc==='Y' &amp;&amp; item.qc_control==='Y' &amp;&amp; item.spc_ok==='Y'  &amp;&amp; item.returned_qty<=0|| item.osstatus!='0' " ng-show="item.spc==='Y' &amp;&amp; item.qc_control==='Y' &amp;&amp; item.spc_ok==='Y' &amp;&amp; item.returned_qty<=0" />
                            </div>
                            <div class="kmi-list__column column-input" item-name="return_qty" style="flex: 0 0 100px; z-index: 1" ng-show="CheckQC == '1' || CheckQC == 'Y'">
                                <!-- 驗退數 return_qty -->
                                <input readonly="readonly" ng-click="changeReturnQty($event, item);" ng-model="item.return_qty" ng-disabled="item.osstatus!='0'" />
                            </div>
                            <div class="kmi-list__column column-input" item-name="molecule" style="flex: 0 0 100px; z-index: 1" ng-show="FasteningPackage == 1 || FasteningPackage == 'Y'">
                                <!-- 雙單位轉換率 -->
                                <input readonly="readonly" style="flex: 0 0 40px; margin-right: 3px" ng-model="item.fastening_info_detail.molecule" ng-disabled="item.fastening_info_detail.is_modied == 0" ng-click="changeMoleculeValue($event, item);" />
                                <label>/</label>
                                <input readonly="readonly" style="flex: 0 0 40px; margin-left: 3px" ng-model="item.fastening_info_detail.denominator" ng-disabled="item.fastening_info_detail.is_modied == 0" ng-click="changeDenominatorValue($event, item);" />
                            </div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.SPCQTY" ng-if="_event['B0217_itemList.SPCQTY'].isShown != 'N'"></div>
                            <div class="kmi-list__column column-border" item-name="osstatus" style="flex: 0 0 100px; z-index: 1" ng-bind="item.osstatus==='0'?'B0217.osstatus.0':(item.osstatus==='1'?'B0217.osstatus.1':'B0217.osstatus.2')| translate "></div>
                            <div class="kmi-list__column kmi-button-confrim" item-name="panelbutton" style="flex: 0 0 100px; z-index: 1" ng-hide="!os_back_setting">
                                <div class="kmi-button kmi-button-confrim" ng-click="panelInput($event, item);" ng-show="item.osstatus==='0'" ng-disabled="item.osstatus!='0'">
                                    <div class="kmi-can-click"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column column-input" item-name="valuationqty" style="flex: 0 0 120px; z-index: 1" ng-hide="osvaluationinput=='0'">
                                <input readonly="readonly" style="flex: 0 0 50px; margin-right: 3px" ng-model="item.valuationqty" ng-disabled="osvaluationinput=='2' || item.osstatus!='0'" ng-click="valuationqty($event, item);" />
                                <label>/</label>
                                <input readonly="readonly" style="flex: 0 0 50px; margin-left: 3px" ng-model="item.valuationqty_no" ng-disabled="osvaluationinput=='2' || item.osstatus!='0'" ng-click="valuationqty_no($event, item);" />
                            </div>
                            <div class="kmi-list__column column-input" item-name="excessqty" style="flex: 0 0 100px; z-index: 1" ng-hide="!os_back_setting">
                                <input readonly="readonly" ng-click="excessqty($event,item);" ng-value="item.excessqty" ng-disabled="osbacknotallowedexceed == '1' || item.osstatus!='0'" />
                            </div>
                            <div class="kmi-list__column column-input" item-name="lossqty" style="flex: 0 0 100px; z-index: 1" ng-hide="!os_back_setting">
                                <input readonly="readonly" ng-click="lossqty($event,item);" ng-value="item.lossqty" ng-disabled="item.osstatus!='0'" />
                            </div>
                            <div class="kmi-list__column column-input" item-name="issuedefectqty" style="flex: 0 0 100px; z-index: 1" ng-hide="!os_back_setting">
                                <input readonly="readonly" ng-click="issuedefectqty($event,item);" ng-value="item.issuedefectqty" ng-disabled="item.osstatus!='0'" />
                            </div>
                            <div class="kmi-list__column column-border" style="flex: 1" ng-bind="item.qcformno" ng-if="_event['B0217_itemList.qcformno'].isShown != 'N'"></div>
                            <div class="kmi-list__column kmi-column-button" item-name="callb0225" style="flex: 0 0 84px; z-index: 1" ng-show="isB0225">
                                <label ng-bind="'B0225.title' | translate"></label>
                                <div class="kmi-can-click" ng-click="callB0225(item);"></div>
                            </div>
                            <div class="kmi-can-click" ng-click="_event['B0217_itemList'].rowClick(item, {index:$index, event:$event});"></div>
                        </div>
                    </div>
                </div>
                <div class="page-content">
                    <div class="page-icon">
                        <img src="image/icons/dropleft.png" />
                        <div class="kmi-can-click" ng-click="prevPage(_objB0217_itemList.PageConfig);"></div>
                    </div>
                    <label ng-bind="pageInfo(_objB0217_itemList.PageConfig);"></label>
                    <div class="page-icon">
                        <img src="image/icons/dropright.png" />
                        <div class="kmi-can-click" ng-click="nextPage(_objB0217_itemList.PageConfig);"></div>
                    </div>
                </div>
            </div>
        </div>

        <div class="kmi-layout-footer">
            <button class="mdl-button mdl-js-button mdl-button--fab mdl-shadow--custom mdl-button--custom1" ng-disabled="_fn['confirm'].isDisabled == 'Y'" ng-hide="_fn['confirm'].isShown == 'N'" ng-click="_fn['confirm'].click('confirm');">
                <i class="material-icons">done</i>
            </button>
        </div>
    </div>
</div>
